<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
      function f1(x,y){
          console.log((x+y)+this);
      }

      f1(20,10);

      var obejt = {
          name:"wx",
          age:9
      }
      f1.apply(null,[20,10]);
      //改变this的地址指向
      f1.apply(obejt,[20,10]);
    </script>
</body>
</html>